<mat-card style="height: calc(100vh - 115px)">
  <div *ngIf="loaded; else loadingTemplate" class="h-100">
    <mat-tab-group (selectedTabChange)="resize()" class="h-100">
      <mat-tab [label]="'cis.profile.TEMPLATES' | translate" class="h-100">
        <app-compliance-profile-templates
          [hideSystemInit]="
            complianceProfileData.profile.profiles[0]?.disable_system || false
          "
          [templates]="
            complianceProfileData.template.list.compliance
          "></app-compliance-profile-templates>
      </mat-tab>
      <mat-tab
        [label]="'sidebar.nav.RESOURCE' | translate"
        *ngIf="!isNamespaceUser">
        <app-compliance-profile-assets
          [domains]="
            complianceProfileData.domains
          "></app-compliance-profile-assets>
      </mat-tab>
    </mat-tab-group>
  </div>
  <ng-template #loadingTemplate>
    <app-loading-template></app-loading-template>
  </ng-template>
</mat-card>
